home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d21 / dvglue10.arc / TVKWRITE.C < prev    next >
C/C++ Source or Header  |  1988-08-13  |  1KB  |  31 lines

  1. /*================================================*/
  2. /* TVKWRITE.C                                     */
  3. /*                                                */
  4. /* (c) Copyright 1988 Ralf Brown                  */
  5. /*     All Rights Reserved                        */
  6. /* May be freely copied for noncommercial use,    */
  7. /* provided that this copyright notice remains    */
  8. /* intact and any changes are indicated in the    */
  9. /* comment blocks preceding functions             */
  10. /*================================================*/
  11.  
  12. #include "tvapi.h"
  13.  
  14. /*================================================*/
  15. /* TVkbd_write  write data to keyboard            */
  16. /*   Ralf Brown 4/22/88                           */
  17. /*================================================*/
  18.  
  19. void pascal TVkbd_write(OBJECT kbd,char *data,int size,int status)
  20. {
  21.    PARMLIST3 p ;
  22.  
  23.    p.num_args = 3 ;
  24.    p.arg[0] = (DWORD) (char far *) data ;
  25.    p.arg[1] = (DWORD) size ;
  26.    p.arg[2] = (DWORD) status ;
  27.    TVsendmsg(WRITE_MSG, kbd?TOS:KEYME, kbd, (PARMLIST *)&p) ;
  28. }
  29.  
  30. /* End of TVKWRITE.C */
  31.